; * etc/NEWS: How to fix old code that uses vectors as obarrays.
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Feb 2024 07:21:35 +0000 (09:21 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Feb 2024 07:21:35 +0000 (09:21 +0200)
etc/NEWS

index 5653b51784f92620a7eb5b7749bade5402f1b97c..6acafe6ea4a498ae456b7dd66c68a30b8825916b 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2025,6 +2025,14 @@ The old vector representation is still accepted by functions operating
 on obarrays, but 'obarrayp' only returns 't' for obarray objects.
 'type-of' now returns 'obarray' for obarray objects.
 
+If you have code which creates obarrays as a simple Lisp vector:
+
+   (make-vector N nil)
+
+and then calls 'intern' using such an obarray as second argument, this
+will now signal a wrong-type-argument error; replace nil with zero to
+make it work again.
+
 +++
 *** New function 'obarray-clear' removes all symbols from an obarray.